/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.line.pipe.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hopes.bizz.common.core.annotation.ExcelDictImportValidate;
import com.hopes.boss.common.entity.ExcelDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 管线
 *
 * @author pig
 * @date 2024-02-21 21:45:43
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LinePipelineExcelDTO extends ExcelDTO {

    private static final long serialVersionUID = 1L;


	/**
	* id
	*/
    @ExcelProperty("id")
	@ExcelIgnore
    private Long id;

	/**
	* 管线编码
	*/
    @ExcelProperty("管线编码")
    private String lineCode;

	/**
	 * 埋设方式   监测类别 1.废气 2.废水 3.VOCs
	 */
	@ExcelProperty("埋设方式")
	@ExcelDictImportValidate(enumResolver = "line_embed_type", message = "埋设方式数据解析异常！")
	private String embedTypeStr;

	/**
	* 起始点号
	*/
    @ExcelProperty("起始点号")
    private String startNum;

	/**
	* 终止点号
	*/
    @ExcelProperty("终止点号")
    private String endNum;

	/**
	* 起点埋深
	*/
    @ExcelProperty("起点埋深")
    private BigDecimal startAltitude;

	/**
	* 终点埋深
	*/
    @ExcelProperty("终点埋深")
    private BigDecimal endAltitude;

	/**
	* 起点高程
	*/
    @ExcelProperty("起点高程")
    private BigDecimal startElevation;

	/**
	* 终点高程
	*/
    @ExcelProperty("终点高程")
    private BigDecimal endElevation;

	/**
	* 管径
	*/
    @ExcelProperty("管径尺寸")
    private BigDecimal lineRadius;

	/**
	 * 管段间距
	 */
	@ExcelProperty("管段间距")
	private BigDecimal pipeInterval;

	/**
	 * 管线材质   数据状态 1.正常 2.需修约 3.无效数据
	 */
	@ExcelProperty("管线材质")
	@ExcelDictImportValidate(enumResolver = "line_material_type", message = "管线材质数据解析异常")
	private String lineMaterialStr;

	/**
	* 保护材料
	*/
    @ExcelProperty("保护材料")
    private String protectMaterial;

	/**
	* 权属单位
	*/
    @ExcelProperty("权属单位")
    private String belongUnit;

	/**
	 * 道路名称
	 */
	@ExcelProperty("道路名称")
	private String roadName;

	/**
	* 建设年代
	*/
    @ExcelProperty("建设年代")
    private Integer buildYear;

	/**
	* 流向码
	*/
    @ExcelProperty("流向码")
    private String flowDirectionCode;

	/**
	* 压力
	*/
    @ExcelProperty("内部压力")
    private String pressure;

	/**
	* 电压
	*/
    @ExcelProperty("电压")
    private String volt;

	/**
	* 电缆条数
	*/
    @ExcelProperty("电缆条数")
    private Integer cableNum;

	/**
	* 总孔数
	*/
    @ExcelProperty("总孔数")
    private Integer totalHoleNum;

	/**
	* 已用孔数
	*/
    @ExcelProperty("已用孔数")
    private Integer useHoleNum;

	/**
	* 孔径
	*/
    @ExcelProperty("孔径尺寸")
    private BigDecimal holeRadius;

	/**
	* 载体
	*/
    @ExcelProperty("载体说明")
    private String carrier;

	/**
	* 备注
	*/
    @ExcelProperty("载体说明")
    private String remarks;


}
